package com.ssy.lingxi.member.merchant.model.vo.mobile.request;

import com.ssy.lingxi.member.merchant.handler.annotation.MobileShopTypeAnnotation;
import com.ssy.lingxi.member.merchant.handler.annotation.ShopPropertyAnnotation;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 会员中心 - 查询会员信息、权益等接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-29
 */
public class MobileShopVO implements Serializable {
    private static final long serialVersionUID = 548997499704759921L;

    /**
     * 商城类型，1-企业商城，3-渠道商城，4-渠道自有商城
     */
    @NotNull(message = "商城类型不能为空")
    @MobileShopTypeAnnotation
    private Integer shopType;

    /**
     * 商城属性，1-B端商城，2-C端商城，3-B端自营商城，4-C端自营商城
     */
    @NotNull(message = "商城属性要大于0")
    @ShopPropertyAnnotation
    private Integer shopProperty;

    /**
     * 上级渠道会员Id
     */
    private Long upperMemberId;

    /**
     * 上级渠道会员角色Id
     */
    private Long upperRoleId;

    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }

    public Integer getShopProperty() {
        return shopProperty;
    }

    public void setShopProperty(Integer shopProperty) {
        this.shopProperty = shopProperty;
    }

    public Long getUpperMemberId() {
        return upperMemberId;
    }

    public void setUpperMemberId(Long upperMemberId) {
        this.upperMemberId = upperMemberId;
    }

    public Long getUpperRoleId() {
        return upperRoleId;
    }

    public void setUpperRoleId(Long upperRoleId) {
        this.upperRoleId = upperRoleId;
    }
}
